import micaps


def load_file_format3(fname: str):
    """
    装载

    内容:
        文件头: 
            diamond 3 2018年6月1日08时00分00秒黄河流域站点24小时降水 \n
            2018 6 1 0 0 \n
            0 0 0 0 1 \n
            6734 \n
        数据: 
            861002  108.299   36.780   1245.0      0.0

    说明: 在micapsFile类中实现
    """
    alllines = ""
    # with open(fname, 'r', encoding='utf-8') as infile:
    with open(fname, 'r') as infile:
        alllines = infile.readlines()
    # end with

    temp: str = "\n".join(alllines)
    temp = temp.replace("\r", " ")
    temp = temp.replace("\n", " ")
    content = temp.split()

    data_info = micaps.DataInfo()
    stations: list[micaps.Station]
    for i in range(len(content)):
        ...
    # endfor

    return stations


